<%@tag pageEncoding="UTF-8" description="文件上传"%>
<%@attribute name="id" required="false"%>
<%@attribute name="isShowCover" required="false" type="java.lang.Boolean" description="是否显示设置封面按钮"%>
<%@attribute name="isInsert2article" required="false" type="java.lang.Boolean"%>
<%@attribute name="insert2article_gallery" required="false" type="java.lang.Boolean"%>
<%-- {metaInfo.ns_name} --%>

<!-- // 上传对话框 标签 -->
<%if(id != null){ %>
	<textarea class="uploadPanel_Tpl hide <%=id%>">
<%}else{%>
	<textarea class="uploadPanel_Tpl hide">
<%}%>
    <div class="uploadPanel_holder">
        <div class="box">
            <button class="closeAction rightTopIcon" title="关闭对话框">×</button>
            <h1>${metaInfo.ns_name}图片上传管理器</h1>
            <div class="toolbar">
                <button class="del">删除</button>
                <button class="selectAll">全选</button>
                <button class="refreash">刷新</button>
               <%if(isShowCover != null && isShowCover){ %>
                <button class="cover">设为封面</button>
               <%}%>
                <%if(isInsert2article != null && isInsert2article){%>
                <button class="insert2article">插入到正文</button>
                <%}%>
                <%if(insert2article_gallery != null && insert2article_gallery){%>
                <button class="insert2article_gallery">插入到正文</button>
                <%}%>
            </div>
            <div class="innerPanel">
                <div class="dataview">
                    <ul class="col3 verticalPic">
                    <%--    
                    	<li class="id-1-332425">
                            <div class="imgContainer">
                                <img src="webview_layout/20130625095744214.jpg">
                                <h2>迈阿密热火夺冠定妆照</h2>
                                <div class="m_checkbox"></div>
                            </div>
                        </li> 
                    --%>
                    </ul>
                </div>
                <div class="preview">
                    <div class="perviewHolder" id="perviewHolder">
						<img src=""/>
                    </div>
                    <form action="s" enctype="multipart/form-data" method="POST" target="uploadIframe">
                        <input type="file" name="fileName" />
                        <div class="msgHolder"></div>
                        <input type="submit" value="上传"/>
                    </form>
                </div>
            </div>
            <center>
	            <button class="closeAction middleBtn stdBtn">关闭</button>
            </center>
            <iframe src="about:blank" class="hide" name="uploadIframe"></iframe>
        </div>
        <div class="mask"></div>
    </div>
</textarea>
<!-- // 上传对话框 标签 -->